import {createReactInstance} from "../createReactInstance"
import { createDOMElement } from "../../DOM"
const createStateNode=fiber=>{
    if(fiber.tag==="host_component"){
        return createDOMElement(fiber)
    }else{
        return createReactInstance(fiber)
    }
}
export default createStateNode